package org.jleaf.springcloud.account.service.impl;

import org.jleaf.springcloud.account.entity.Account;
import org.jleaf.springcloud.account.service.AccountService;
import org.springframework.stereotype.Service;

/**
 * @author yaoshuhong
 * @date 2016-09-05 11:40
 */
@Service
public class AccountServiceImpl implements AccountService {

    @Override
    public Account findById(String id) {
        Account account = new Account();
        account.setId(id);
        account.setBalance(1D);
        return account;
    }
}
